import { createSSRApp } from "vue";
import uvUI from "@climblee/uv-ui";
import App from "./App.vue";
import Pinia from "./stores";
import { Request } from '@/util/request'


export function createApp() {
  const app = createSSRApp(App);
  Request(app)
  // 注册pinia
  app.use(Pinia);
  // 注册uview
  app.use(uvUI);

  return {
    app,
    Pinia,
  };
}
